package com.tanhua.dubbo.api.mongo;

import com.tanhua.model.mongo.Voice;

import java.util.List;
import java.util.Set;

/**
 * @author solang
 * @date 2021-12-22 20:42
 */
public interface PeachblossomApi {
    /**
     * 添加语音
     * @author LittleLynn
     */
    void add(Voice voice);

    /**
     * 通过性别查询不同性别用户的语音数据
     * @param gender
     * @return
     */
    Voice findVoiceByGender(Long userId, String gender, Set voiceDate);

}
